<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-pragma">{-# LANGUAGE CPP #-}</span><span>
</span><span id="line-2"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">System.Directory.Internal.Config</span><span> </span><span class="hs-keyword">where</span><span class="hs-cpp">
#include &lt;HsDirectoryConfig.h&gt;
</span><span>
</span><span id="line-5"></span><span class="annot"><a href="System.Directory.Internal.Config.html#exeExtension"><span class="hs-identifier hs-type">exeExtension</span></a></span><span> </span><span class="hs-glyph">::</span><span> </span><span class="annot"><a href="../../base/src/GHC.Base.html#String"><span class="hs-identifier hs-type">String</span></a></span><span>
</span><span id="line-6"></span><span id="exeExtension"><span class="annot"><span class="annottext">exeExtension :: String
</span><a href="System.Directory.Internal.Config.html#exeExtension"><span class="hs-identifier hs-var hs-var">exeExtension</span></a></span></span><span> </span><span class="hs-glyph">=</span><span> </span><span class="hs-identifier">EXE_EXTENSION</span><span>
</span><span id="line-7"></span><span class="hs-comment">-- We avoid using #const_str from hsc because it breaks cross-compilation</span><span>
</span><span id="line-8"></span><span class="hs-comment">-- builds, so we use this ugly workaround where we simply paste the C string</span><span>
</span><span id="line-9"></span><span class="hs-comment">-- literal directly in here.  This will probably break if the EXE_EXTENSION</span><span>
</span><span id="line-10"></span><span class="hs-comment">-- contains strange characters, but hopefully no sane OS would ever do that.</span><span>
</span><span id="line-11"></span></pre></body></html>